
package com.jf.cloud.product.vo;

import com.jf.cloud.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 库存信息VO
 *
 * @author zz
 * @date 2020-10-28 15:27:24
 */
public class SkuStockVO extends BaseVO {
    private static final long serialVersionUID = 1L;

    @Schema(description = "库存id" )
    private Long stockId;

    @Schema(description = "SKU ID" )
    private Long skuId;

    @Schema(description = "商品编码")
    private String partyCode;

    @Schema(description = "库存" )
    private Integer stock;

    public Long getStockId() {
        return stockId;
    }

    public void setStockId(Long stockId) {
        this.stockId = stockId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getPartyCode() {
        return partyCode;
    }

    public void setPartyCode(String partyCode) {
        this.partyCode = partyCode;
    }

    @Override
    public String toString() {
        return "StockVO{" +
                "stockId=" + stockId +
                ", skuId=" + skuId +
                ", partyCode='" + partyCode + '\'' +
                ", stock=" + stock +
                '}';
    }
}
